﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="UserProfile.aspx.cs" Inherits="UserProfile" Title="User profile maintenance" Culture="auto" UICulture="auto" %>
<%@ MasterType virtualpath="~/MasterPage.master" %>

<%@ Register src="UserSkillsUserControl.ascx" tagname="UserSkillsUserControl" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <ul>
    <li>View/update your info</li>
    <li>Admin can view anyone (contactid=#)</li>
    <li>Non-admin ignores querystring and shows current user</li>
</ul>
    <p>Username: <%= Profile.UserName %></p>
    <p>OpenGivingID: <%= Profile.OpenGivingID %></p>
    <p>OpenGivingSkills: <%= Profile.OpenGivingSkills %></p>
<hr />
    <asp:ChangePassword ID="ChangePassword1" runat="server">
    </asp:ChangePassword>
<hr />    
    <uc1:UserSkillsUserControl ID="UserSkillsUserControl1" runat="server" />
    <asp:Button ID="btnSave" runat="server" Text="Save Changes" 
        onclick="btnSave_Click" />
</asp:Content>

